package cn.jobstart.modelDesc;

import lombok.Data;
import cn.jobstart.model.TalentSubscriptionTask;


import cn.jobstart.enums.TalentSubscriptionTaskShowFlagEnum;
import cn.jobstart.enums.TalentSubscriptionTaskDelFlagEnum;
import cn.jobstart.enums.TalentSubscriptionTaskChannelEnum;
import cn.jobstart.enums.TalentSubscriptionTaskWorkExperienceFlagEnum;
import cn.jobstart.enums.TalentSubscriptionTaskEducationFlagEnum;
import cn.jobstart.enums.TalentSubscriptionTaskSexEnum;
import cn.jobstart.enums.TalentSubscriptionTaskStatusEnum;

/**
*    @author sunke
*    @Date 2023-11-24 16:07:03
*    @description TalentSubscriptionTaskDesc      人才订阅任务
*/
@Data
public class TalentSubscriptionTaskDesc extends TalentSubscriptionTask {


    private String showFlagDesc;
    private String delFlagDesc;
    private String channelDesc;
    private String workExperienceFlagDesc;
    private String educationFlagDesc;
    private String sexDesc;
    private String statusDesc;

    public String getShowFlagDesc() {
        showFlagDesc=TalentSubscriptionTaskShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=TalentSubscriptionTaskDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
    public String getChannelDesc() {
        channelDesc=TalentSubscriptionTaskChannelEnum.getDescByType(getChannel());
        return channelDesc;
    }
    public String getWorkExperienceFlagDesc() {
        workExperienceFlagDesc=TalentSubscriptionTaskWorkExperienceFlagEnum.getDescByType(getWorkExperienceFlag());
        return workExperienceFlagDesc;
    }
    public String getEducationFlagDesc() {
        educationFlagDesc=TalentSubscriptionTaskEducationFlagEnum.getDescByType(getEducationFlag());
        return educationFlagDesc;
    }
    public String getSexDesc() {
        sexDesc=TalentSubscriptionTaskSexEnum.getDescByType(getSex());
        return sexDesc;
    }
    public String getStatusDesc() {
        statusDesc=TalentSubscriptionTaskStatusEnum.getDescByType(getStatus());
        return statusDesc;
    }
}

